﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InstrumentCheck.DAL;
using InstrumentCheck.Module;

namespace InstrumentCheck.BLL
{
   public  class MailJob_bll
    {
       public static List<AlertMail> getAlertList()
       {
           return MailJob_dal.getAlertList();
       }
       public static bool IsExist(string fasno, DateTime correctdate, CorrectCycle period)
       {
           return MailJob_dal.checkAlertList(fasno, correctdate,period);
       }
       public static void InsertAlertList(AlertMail alertMail)
       {
           MailJob_dal.InsertAlertList(alertMail);
       }
       public static List<AlertMail> MailInfo()
       {
           return MailJob_dal.MailInfo();
       }
       public static  AlertMail ApprovalMailInfo(Item item)
       {
           return MailJob_dal.ApprovalMailInfo(item);
       }
       public static List<User> MailCC()
       {
           return MailJob_dal.MailCC();
       }
    }
}
